{layout name="daili/layout"}
<main class="app-content">
    <div class="app-title">
      <div>
        <h1><i class="fa fa-dashboard"></i> 首页面板</h1>
  
      </div>
      <ul class="app-breadcrumb breadcrumb">
        <li class="breadcrumb-item"><i class="fa fa-home fa-lg"></i></li>
        <li class="breadcrumb-item"><a href="#">首页</a></li>
      </ul>
    </div>
    <div class="row">
      <div class="col-md-6 col-lg-6">
        <div class="widget-small primary coloured-icon"><i class="icon fa fa-users fa-3x"></i>
          <div class="info">
            <h4>下级用户数</h4>
            <p><b>{$sons}</b></p>
          </div>
        </div>
      </div>
      <div class="col-md-6 col-lg-6">
        <div class="widget-small info coloured-icon"><i class="icon fa fa-cny fa-3x"></i>
          <div class="info">
            <h4>可用余额</h4>
            <p><b>{$money}</b></p>
          </div>
        </div>
      </div>

    </div>
   
    <div class="row">
        <div class="col-md-6">
            <div class="tile">
              <h3 class="tile-title">最新公告</h3>
              <p>{:config('site.dlgg')}</p>
            
            </div>
          </div>

      <div class="col-md-6">
        <div class="tile">
          <h3 class="tile-title">最新文件</h3>
          <ul>
            {foreach($newfile as $v)}
            <li><a href="/index/index/detail?id={$v->video_id}">{$v->v_title}</a> </li>
            {/foreach}

            </ul>
         </div>
      </div>
    </div>
  </main>